all:
	$(MAKE) -C libpspsystemctrl_kernel
	@cp libpspsystemctrl_kernel/libpspsystemctrl_kernel.a ../../libs
	$(MAKE) -C libpspsystemctrl_user
	@cp libpspsystemctrl_user/libpspsystemctrl_user.a ../../libs
	$(MAKE) -C libpspkubridge
	@cp libpspkubridge/libpspkubridge.a ../../libs

clean:
	$(MAKE) -C libpspsystemctrl_kernel clean
	$(MAKE) -C libpspsystemctrl_user clean
	$(MAKE) -C libpspkubridge clean
	@rm ../../libs/libpspsystemctrl_kernel.a || true
	@rm ../../libs/libpspsystemctrl_user.a || true
	@rm ../../libs/libpspkubridge.a || true
